package com.unittec.zk.provider.auth.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.unittec.zk.provider.auth.entity.SysApplication;

/**
 * @author Jason
 * @description 应用Mapper
 * @date 2019/11/07
 */
public interface SysApplicationMapper extends BaseMapper<SysApplication> {
    /**
     * 分页查询应用列表
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<Map<String, Object>> appListForPage(IPage<SysApplication> page,
        @Param(Constants.WRAPPER) QueryWrapper<SysApplication> queryWrapper);
}
